<div class="left_content">
     <div class="title"><span class="title_icon"><img src="{$HOME_URL}/images/bullet1.gif" alt="" title="" /></span>Order List</div>
     <div class="address_list_box">
       	
       <div class="address_form">
	    <div class="form_subtitle">My Order List</div>
	    <table border="0" width="100%">
	    {foreach item=data from=$arrDataList}
	    
	    	<tr height="20">
	    		<td width="30">
	    			<img src="{$HOME_URL}/images/left_menu_bullet.gif" />
	    		</td>
	    		<td>
	    			<b>Order Number:</b>
	    		</td>
	    		<td>
	    			{$data.id}
	    		</td>
	    	</tr>
	    	<tr height="20">
	    		<td>
	    		</td>
	    		<td>
	    			<b>Order Status:</b>
	    		</td>
	    		<td>
	    			{$data.status}
	    		</td>
	    	</tr>
			<tr height="20">
				<td>
	    		</td>
  				<td>
   					<b>Order Date:</b>
   				</td>
   				<td>
   					{$data.createdTime|date_format:"%A %d %B, %Y"}
   				</td>
   			</tr>
   			<tr height="20">
				<td>
	    		</td>
  				<td>
   					<b>Shipped To:</b>
   				</td>
   				<td>
   					{$data.delivery_name}
   				</td>
   			</tr>
		   	<tr height="20">
		   		<td>
	    		</td>
   				<td>
   					<b>Products:</b>
   				</td>
   				<td>
   					{$data.total}
   				</td>
   			</tr>
   			<tr height="20">
		   		<td>
	    		</td>
   				<td>
   					<b>Order Cost:</b>
   				</td>
   				<td>
   					${$data.amount / 100}
   				</td>
   			</tr>	
		   	
   			
   			<tr height="20">
   				<td>
	    		</td>
  				<td>
   					<b>Products:</b>
   				</td>
   				<td>
   					{$data.total}
   				</td>
   			</tr>
   			
   			<tr height="20">
   				<td>
	    		</td>
  				<td>
   					<b>Order Cost:</b>
   				</td>
   				<td>
   					${$data.amount / 100}
   				</td>
   			</tr>
   			<tr height="20">
   				<td colspan="3" align="right">
   					<a href="ordersView.php?ordersid={$data.id}" class="nprice-g-c">View</a>&nbsp;&nbsp;
	    		</td>
    		</tr>
	   	{/foreach}
	   	</table>
	   	<div class="pagination"> 
			{if $page > 1}
				<a href="ordersList.php?page={$prePage}"><<</a>
				
			{else}
				<span class="disabled"><<</span>
			{/if}
			
			{foreach item=data from=$pageList}
				{if $page == $data}
					<span class="current">{$data}</span>
				{else}
					<a href="ordersList.php?page={$data}">{$data}</a>
				
				{/if}
			{/foreach}
			
			{if $page < $pageCount}
				<a href="ordersList.php?page={$nextPage}">>></a>
			{else}
				<span class="disabled">>></span>
			{/if}
		</div>
		
		<div class="clear"></div>
	</div>
	
     </div>
     <div class="clear"></div>
</div>